<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${base}/res/front/css/sytle/login.css" rel="stylesheet" type="text/css" />
<link href="../../res/front/css/sytle/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../res/front/js/js/jquery-1.5.1.js"></script>
<script type="text/javascript" src="../../res/front/js/js/jquery.validate.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="${base}/res/front/img/imagesForFront/favicon.ico" />
<script language="javascript">
	$(function(){
		$('.login_inpType').hover(
			function(){
				$(this).addClass('login_hover');
			},
			function(){
				$(this).removeClass('login_hover');
			}
		);
		
		$('#jvForm').validate({
			rules:{
				loginname:{required: true},
				password:{required: true}
			},
			messages:{
				loginname:{required: "请填写用户名"},
				password:{required: "请填写密码"}
			}
		});
	});
</script>
<style>
	label.error{color:#F00; font-size:16px; margin-left:140px;}
</style>

<title>用户登录 - ${title}</title>
</head>

<body>
	<div class="login_centre">
    	<div class="login_company">
        	<!-- logo -->
        	<div class="login_logo">
            	<a href="/index.html"><img src="${base}/res/front/img/imagesForFront/logo.png" border="0" /></a>
            </div>
            <div class="login_register">
            	<span style="margin-right:140px;"><a href="/index.html" style="color:#FF9A00;">首页</a></span>
            	<span><a href="/member/register.jspx" style="color:#FF9A00;">账户注册</a></span>
            </div>
        </div>
        <!-- 中部 -->
		<div class="login_middle">
        	<div class="login_middle_tab">
            	<!-- 图片 -->
                <div class="login_bg"></div>
                <!-- 登录div -->
                <div class="login_right_div">
                	<div class="login_title_bg_11">
                    	<div class="login_title_user">账户登录</div>
                    </div>
                    <div class="login_title_bg_12"></div>
                    <div class="login_tab">
                    	<#if errors??>
                            <#list errors as error>
                                <div class="mistake_hint">${error}</div>
                            </#list>
                        </#if>
                        <form action="${base}/member/login.jspx" method="post" id="jvForm">
                        	<div class="login_div_li">
                            	<div class="login_div_li_tet">账户</div>
                                <#if tempTmember??>
                                    <input type="text" id="uname" name="loginname" class="login_userbg_input login_inpType" value="${tempTmember.loginname}" />
                                <#else>
                                    <input type="text" id="uname" name="loginname" class="login_userbg_input login_inpType"/>
                                </#if>
                                
                                <div style="clear:both;"></div>
                                <div style="text-align:center;color:#F00"> 
                                <#if tishi??>
                                ${tishi}
                                </#if>
                                </div>
                            </div>
                            
                            <div class="login_div_li">
                            	<div class="login_div_li_tet">密码</div>
                                <input type="password" id="upwds" name="password" class="login_pwdbg_input login_inpType" value="" />
                                <div style="clear:both;"></div>
                            </div>
                            <div class="remember_user_div">
                                <div class="login_location">
                                    <input class="check_input" type="checkbox" name="flag" value="true" <#if flag??>checked="checked"</#if>  />
                                    <label style="font:bold 15px '宋体';">记住账户</label>
                                    <em style="margin-left:100px; font:bold 15px '宋体';"><a href="/o_tmemberToGetPWD.jspx"  style="color:#FF9A00;">忘记密码</a></em> 
                                </div>
                                <div><input type="submit" class="sub_inp" value="登   录" /></div>
                            </div>
                        </form>
                    </div>
                </div>
                <div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
        </div>
    </div>
	<#include "/front/common/footer.html"/>
</body>
</html>
